package edu.isistan.matching.structures.elements;

import java.util.ArrayList;
import java.util.List;

public class PortTypeElement extends WSDLElement {

	String portTypeNameSpace = "";

	List<OperationElement> operations = new ArrayList<OperationElement>();

	public PortTypeElement(String portTypeLocalName, String portTypeNameSpace) {
		super(portTypeLocalName);
		setPortTypeNameSpace(portTypeNameSpace);
	}

	public PortTypeElement(String nombre) {
		super(nombre);
		setPortTypeNameSpace("");
	}

	public String getPortTypeNameSpace() {
		return getName();
	}

	public void setPortTypeNameSpace(String portTypeNameSpace) {
		this.portTypeNameSpace = portTypeNameSpace;
	}

	public void setPortTypeLocalName(String localName) {
		setName(localName);
	}

	public String getPortTypeLocalName() {
		return getName();
	}

	public List<OperationElement> getOperations() {
		return operations;
	}

	public void setOperations(List<OperationElement> operations) {
		this.operations = operations;
	}

}
